package com.example.app.pages.main.home.addNew.addRecord

import androidx.compose.foundation.background
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation.layout.height
import androidx.compose.foundation.rememberScrollState
import androidx.compose.foundation.verticalScroll
import androidx.compose.material.MaterialTheme
import androidx.compose.runtime.Composable
import androidx.compose.ui.Alignment
import androidx.compose.ui.Modifier
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.unit.dp
import com.example.app.components.MySpacer.MySpacer
import com.example.app.pages.main.home.addNew.addRecord.viewModel.AddRecordViewModel
import com.google.accompanist.insets.ProvideWindowInsets
import com.google.accompanist.insets.navigationBarsWithImePadding

@Composable
fun PayContent(

        topbarAndStatusBarHeight: Int
) {
    Column(
        modifier = Modifier
            .fillMaxSize()
            .navigationBarsWithImePadding()
            .verticalScroll(rememberScrollState()),
        verticalArrangement = Arrangement.Top,
        horizontalAlignment = Alignment.CenterHorizontally
    ) {
        //这个是占位置的，把HorizontalPager往下挤，刚好形成 输入框嵌入背景的效果
        MySpacer(
            modifier = Modifier
                .height(topbarAndStatusBarHeight.dp)
                .background(Color.Red)
        )
    }
}